//
//  Displayer.h
//  SujetObserver
//
//  Created by Thomas Dupont on 05/01/10.
//  Copyright 2010 Greenteam. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "SensorProtocol.h"

/*!
    @protocol    ObserverProtocol <NSObject>
    @abstract    This interface represent the Observer role in Observer Pattern.
*/
@protocol ObserverProtocol <NSObject>

@required

/*!
    @method     update:
    @abstract   This method is used to prevent observer his subject has been modified
    @param      subject The subject which has been modified
*/
- (void)update:(id<SensorProtocol>)subject;

@end
